package com.book.shelves.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.book.shelves.entity.ShelvesApply;
import com.book.shelves.mapper.ShelvesApplyMapper;
import com.book.shelves.service.ShelvesApplyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: Zhang Gaohe
 * @Date: 2021/5/6
 **/

@Service
public class ShelvesApplyServiceImpl extends ServiceImpl<ShelvesApplyMapper, ShelvesApply> implements ShelvesApplyService {
    @Autowired
    ShelvesApplyMapper shelvesApplyMapper;

    @Override
    public void addShelvesApply(List<ShelvesApply> shelvesApplys) {
        this.saveBatch(shelvesApplys);
    }
}
